import * as THREE from "three";
import { Reflector, ReflectorOptions } from "./Reflector";

export class Ground extends Reflector {

    constructor ( options: ReflectorOptions ) {

        super( undefined, options );

    }

    init ( width: number, height: number ) {

        this.geometry = new THREE.PlaneGeometry( width, height );
        this.rotation.x = -Math.PI / 2;

    }

}